import Document from "../../common/Document";
import Layout from "../../layout";
import Entries from "../CommonTpl/Entries";
import ItemWraper from "../tpl8/components/ItemWraper";
import ResumeHeader from "./ResumeHeader";
import Title from "./components/Title";

function Com(props) {
  return (
    <ItemWraper>
      <Title {...props} />
      <Entries {...props} initMarginH={2}></Entries>
      {/* <CommonTpl {...props} Title={Title}></CommonTpl> */}
    </ItemWraper>
  );
}
function Tpl1() {
  return (
    <Document>
      <Layout
        resumeHeader={<ResumeHeader initMarginH={2} />}
        education={<Com name="education"></Com>}
        work={<Com name="work" />}
        project={<Com name="project" />}
        certificate={<Com name="certificate" />}
        school={<Com name="school" />}
        skills={<Com name="skills" />}
        internship={<Com name="internship" />}
        selfevaluation={<Com name="selfevaluation" />}
        custom={<Com name="custom" />}
        hobby={<Com name="hobby" />}
      />
    </Document>
  );
}

export default Tpl1;
